package datatypes;

import java.util.ArrayList;
import java.util.List;

public class Team {
	List<Soldier> soldiers;

	public Team() {
		soldiers = new ArrayList<Soldier>();
	}

	// team functions
	public void addSoldier(Soldier s) {
		this.soldiers.add(s);
	}
	
	public List<Soldier> getSoldiers() {
		return this.soldiers;
	}
	
	public int getTeamSize(){
		return this.soldiers.size();
	}
}
